mod count_distinct;

fn main() {
    let input_str: &str = "a,b,cd,b,e,e,d,a";
    let count = count_distinct::new_count_distinct(input_str);
    println!("count: {count}");


    use std::fs::File;
    use std::io::Write;
    std::fs::create_dir_all("./output").expect("Unable to create directory");
    let mut file = File::create("./output/s1.txt").expect("Unable to create file");
    writeln!(file, "{count}").expect("Unable to write data");
}
